package com.catclay.adultmoon.dao;

import com.catclay.adultmoon.mapper.UserMapper;
import com.catclay.adultmoon.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class UserDao {

    @Autowired
    UserMapper userMapper;

    private User queryUserById(int id){
        return userMapper.queryUserById(id);
    }

}
